home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 2.11 / PCGAMER Disc 2.11 DEC 1996.iso / HUNTED / SIERRA.INF < prev   
INI File  |  1996-09-04  |  4KB  |  202 lines

  1. [Setup]
  2. SetupSize=900
  3. BillboardSize=0
  4. CanInstallDOS=No
  5.  
  6. [Requirements]
  7. SetupVer=3.0.0.0
  8. Colors=256
  9. MemKB=7168
  10. PhysicalMem=7168
  11. SwapFile=7168
  12. VideoSpeed=300
  13. Wave=2
  14. MIDI=1
  15. CPU=Pentium-60
  16. WinVer=395
  17. ScreenWidth=640
  18. ScreenHeight=480
  19. Joystick=0
  20. Printer=0
  21. CDROM=2
  22.  
  23. [Ident]
  24. Version=1000
  25. ProductID=72117
  26.  
  27. [Dialogs]
  28. BEGIN 0,NotifyInstallSystem
  29. InstallSystem
  30. 1, NotifySysText
  31. 10, OKText
  32. END
  33. BEGIN 1,Register
  34. Register
  35. 1, RegisterText1
  36. 12, YESText, (), FLAG8
  37. 13, NOText
  38. END
  39. BEGIN 2, Restart
  40. Installation Complete
  41. 1, RestartPrompt1
  42. 1, RestartPrompt2
  43. 10, RestartNow, (), FLAG9
  44. 13, RestartLater
  45. END
  46. BEGIN 3, Done
  47. AllDone
  48. 1, AllDoneText
  49. 10, OKText
  50. END
  51. BEGIN 4, FailedWin32s
  52. FailTitleWin32s
  53. 1, FailTextWin32s
  54. 1, FailTextWin32sShare
  55. 1, FailTextWin32sShare1
  56. 1, FailTextWin32sShare2
  57. 1, FailTextWin32sShare3
  58. 1, FailTextWin32sShare4
  59. 1, FailTextWin32sShare5
  60. 10, OKText
  61. END
  62. BEGIN 5, FailedWinG
  63. FailTitleWinG
  64. 1, FailTextWinG
  65. 10, OKText
  66. END
  67. BEGIN 6, FailedVFW
  68. FailTitleVFW
  69. 1, FailTextVFW
  70. 10, OKText
  71. END
  72. BEGIN 7, FailedWinSpace
  73. FailTitleWinSpace
  74. 1, FailTextWinSpace
  75. 1, FailTextWinSpace2
  76. 10, OKText
  77. END
  78. BEGIN 8, InstallType
  79. InstallTypeTitle
  80. 1, InstallTypeText1
  81. 1, InstallTypeText2
  82. 1, InstallTypeText3
  83. 1, InstallTypeText5
  84. 1, InstallTypeText6
  85. 3, InstallTypePrompt1, (), FLAG20
  86. 3, InstallTypePrompt2, (), FLAG21
  87. 10, OKText
  88. END
  89. BEGIN 9, Restart2
  90. Restart2
  91. 1, Restart2Text
  92. 10, OKText
  93. END
  94.  
  95. [Script]
  96. :Begin
  97. ;
  98. ; FLAG usage:
  99. ;        FLAG0  - TRUE if not running NT or Win95
  100. ;        FLAG7  - TRUE if user does not have enough disk space
  101. ;        FLAG8  - TRUE if user wants to register product
  102. ;        FLAG9  - TRUE if user wants to restart computer
  103. ;        FLAG10 - TRUE if user is running WIN95
  104. ;        FLAG11 - TRUE if user has an older version of DirectX
  105. ;
  106. ;        FLAG20 - TRUE if user wants to run from the CD
  107. ;        FLAG21 - TRUE if user wants to run from the hard drive
  108. ;        FLAG22 - TRUE if user wants to temporarily run from the hard drive
  109. ;
  110. ; Determine if running on NT or Win95
  111. NOTWINNT FLAG0
  112. ONWIN95ONLY FLAG10
  113. ;
  114. ;
  115. ; Install DirectX for Windows95
  116. FLAG10 VERSIONCHECK *SYSTEMDIR\DSOUND.DLL 4.02.0.0095 FLAG11
  117. FLAG10 FLAG11 INSTALLDIRECTX
  118. ;
  119. ;
  120. ;  Temporary code to handle case when the program is being installed
  121. ;  from the build area on the network.  This section of the script
  122. ;  should never be ran if the program is being installed from a CD.
  123. EXIST *SOURCEDIR\..\TOOLS\WINRME.EXE FLAG21
  124. FLAG21 GOTO SetGroups
  125. ;
  126. ;
  127. ; Get type of install
  128. :GetType
  129. DIALOG InstallType
  130. ;
  131. ;
  132. ; Based on the flag set by the previous dialogs, toggle the appopriate groups on.
  133. :SetGroups
  134. FLAG21 TOGGLEGROUPON 10
  135. ;
  136. ;
  137. ; Pick destination directory.
  138. :PickDest
  139. PICKDEST End
  140. ;
  141. ;
  142. ; Copy all of the files to hard drive.
  143. COPY
  144. ;
  145. ;
  146. ; Setup default configuration
  147. ADDTOINI *WINDOWSDIR\SIERRA.INI, Hunter, InstallPath, *DESTDIR
  148. ADDTOINI *WINDOWSDIR\SIERRA.INI, Hunter, CDPath, *SOURCEDIR\Hunter
  149. ADDTOINI *WINDOWSDIR\SIERRA.INI, HuntDemo, InstallPath, *DESTDIR
  150. ADDTOINI *WINDOWSDIR\SIERRA.INI, HuntDemo, CDPath, *SOURCEDIR\Hunter
  151. ADDTOINI *DESTDIR\HUNTDEMO.INI, HuntDemo, DemoRunLength, 3600000
  152. ADDTOINI *DESTDIR\HUNTDEMO.INI, HuntDemo, ArtSize, Medium.dat
  153. FLAG21 ADDTOINI *DESTDIR\AUTORUN.INF, English, ProgramEXE, HuntDemo.exe
  154. ;
  155. ;
  156. ; Create "Sierra" group and add program icons
  157. ADDPROGMANGROUP Sierra
  158. ADDPROGMANITEM *SIERRADIR\SETUP.EXE, SetupTitle, ,*SIERRADIR
  159. ADDPROGMANITEM *DESTDIR\AUTORUN.EXE, ProgManTitle, *DESTDIR\AUTORUN.EXE, *DESTDIR
  160. ;
  161. ;
  162. ; Does User want to register?
  163. ;
  164. ;DIALOG Register
  165. ;FLAG8 REGISTER
  166. ;
  167. ;
  168. ; If any system files were installed, user MUST restart their system.
  169. FLAG1 GOTO AskRestart
  170. FLAG3 GOTO AskRestart
  171. FLAG5 GOTO AskRestart
  172. FLAG10 FLAG11 GOTO AskRestart
  173. DIALOG Done
  174. GOTO  End
  175. ;
  176. ;  
  177. ; Prompt user that their system needs to be restarted.
  178. :AskRestart
  179. DIALOG Restart
  180. FLAG9 RESTARTWINDOWS
  181. DIALOG Restart2
  182. GOTO End
  183. ;
  184. ;
  185. :End
  186. END
  187.  
  188. [Archives]
  189. Hunter\,1,0,0
  190.  
  191. [Files]
  192. ;
  193. ; HuntDemo Hunted Files
  194. ; Only install resources if Large Install is selected.
  195. ;
  196. *DESTDIR\AUTORUN.INF,NOARCHIVE,1,927,1
  197. *DESTDIR\AUTORUN.EXE,NOARCHIVE,1,46592,1
  198. *DESTDIR\RESOURCE.001,Hunter\,1,11448715,0,10
  199. *DESTDIR\RESOURCE.MAP,Hunter\,1,3165,0,10
  200. *DESTDIR\HUNTDEMO.EXE,Hunter\,1,524832,0,10
  201. *DESTDIR\MEDIUM.DAT,Hunter\,1,7735604,0,10
  202.